//
//  TopDownloaded.m
//  Mecca
//
//  Created by Ryan Enguero on 6/3/14.
//  Copyright (c) 2014 TapDash Heuristics. All rights reserved.
//

#import "TopDownloaded.h"

@implementation TopDownloaded

- (NSString*) albumID{

    return _albumIDStr;
}

- (NSString*) downloads{

    return _downloadsStr;
}

- (NSString*) likesSong{

    return _likeStr;
}

- (NSString*) path{

    return _pathStr;
}

- (NSString*) ratings{

    return _ratingsStr;
}

- (NSString*) shares{

    return _shareStr;
}

- (NSString*) songID{

    return _songIDStr;
}

- (NSString*) songName{

    return _songNameStr;
}

- (NSString*) albumImg{

    return _albumImgStr;
}

- (NSString*) downloadedArtistName{
    
    return _downloadedArtistNameStr;
}

- (NSString *)price{

    return _priceStr;
}

- (NSString *)fileSize{

    return _fileSizeStr;
}

- (NSString *)durations{

    return _durationsStr;
}

- (NSString*) albumName{

    return _albumNameStr;
}

- (NSString *)songPreview{

    return _songPreviewStr;
}

- (NSString *)songLyrics{
    
    return _songLyricsStr;
    
}


+ (instancetype)topDownloadedWithAlbumID:(NSString*)albumID andDownloads:(NSString*)downloads andLikes:(NSString*)likesSong andPath:(NSString*)path andRatings:(NSString*)ratings andShares:(NSString*)shares andSongID:(NSString*)songID andSongName:(NSString*)songName andImg:(NSString*)img andArtistName:(NSString *)downloadArtistName andPrice:(NSString *)price andFileSize:(NSString *)fileSize andDurations:(NSString *)durations andAlbumName:(NSString *)albumName andSongPreview:(NSString *)songPreview andSongLyrics:(NSString *)songLyrics{

    
    TopDownloaded *topDownloaded = [[self alloc] init];
    
    topDownloaded.albumIDStr = albumID;
    topDownloaded.downloadsStr = downloads;
    topDownloaded.likeStr = likesSong;
    topDownloaded.pathStr = path;
    topDownloaded.ratingsStr = ratings;
    topDownloaded.shareStr = shares;
    topDownloaded.songIDStr = songID;
    topDownloaded.songNameStr = songName;
    topDownloaded.albumImgStr = img;
    topDownloaded.downloadedArtistNameStr = downloadArtistName;
    topDownloaded.priceStr = price;
    topDownloaded.fileSizeStr = fileSize;
    topDownloaded.durationsStr = durations;
    topDownloaded.albumNameStr = albumName;
    topDownloaded.songPreviewStr = songPreview;
    topDownloaded.songLyricsStr = songLyrics;
    
    return topDownloaded;
}

@end
